package cn.dcw.pethome.order.controller;
import cn.dcw.pethome.basic.util.LoginContext;
import cn.dcw.pethome.basic.util.PageList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/petAcquisitionOrder")
public class PetAcquisitionOrderController {
/*    @Autowired
    private IPetAcquisitionOrderService petAcquisitionOrderService;
    @PostMapping
    public PageList<PetAcquisitionOrder> list(@RequestBody PetAcquisitionOrderQuery query){
        //员工只能查看到自己收购订单
        query.setHandlerId(LoginContext.getLoginEployee().getId());
        return  petAcquisitionOrderService.queryPage(query);
    }*/
}
